package cn.qin.xhangapi.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 系统用户角色组表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "sys_role")
public class SysRole {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "role_name")
    private String roleName;

    @TableField(value = "is_super")
    private Integer isSuper;

    @TableField(value = "perms")
    private String perms;

    @TableField(value = "remarks")
    private String remarks;

    @TableLogic
    @TableField(value = "deleted")
    private Integer deleted;
}